package edu.hunan.cxb18.test;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * @author AuthorName
 * @create 2020-04-23 18:11
 */
@Controller
public class Cook {
    @RequestMapping("/cok")
    public void test(HttpServletRequest request){
        Object login_user = request.getSession().getAttribute("LOGIN_USER");
        System.out.println(login_user.toString());
    }
}
